package com.song.polo;

import org.springframework.stereotype.Component;

import java.sql.Timestamp;

/**快递的对象
 * @author song
 */

public class Express {
    private Integer expressId;
    private String expressNumber;
    private String company;
    private String receiverName;
    private String receiverPhone;
    private String code;
    private Timestamp inputTime;
    private Timestamp outputTime;
    private Integer status;
    private String writerPhone;

    private String inputTime1;
    private String outputTime1;
    private String expressStatus;



    public String getInputTime1() {
        return inputTime1;
    }


    public void setInputTime1(String inputTime1) {
        this.inputTime1 = inputTime1;
    }

    public String getOutputTime1() {
        return outputTime1;
    }

    public void setOutputTime1(String outputTime1) {
        this.outputTime1 = outputTime1;
    }

    public String getExpressStatus() {
        return expressStatus;
    }

    public void setExpressStatus(String expressStatus) {
        this.expressStatus = expressStatus;
    }

    public Express() {
    }

    public Express(Integer expressId, String expressNumber, String company, String receiverName, String receiverPhone, Integer status, String writerPhone) {
        this.expressId = expressId;
        this.expressNumber = expressNumber;
        this.company = company;
        this.receiverName = receiverName;
        this.receiverPhone = receiverPhone;
        this.status = status;
        this.writerPhone = writerPhone;
    }

    public Express(String expressNumber, String company, String receiverName, String receiverPhone, String writerPhone) {
        this.expressNumber = expressNumber;
        this.company = company;
        this.receiverName = receiverName;
        this.receiverPhone = receiverPhone;
        this.writerPhone = writerPhone;
    }

    public Express(Integer expressId, String expressNumber, String company, String receiverName, String receiverPhone, String code, Integer status, String writerPhone) {
        this.expressId = expressId;
        this.expressNumber = expressNumber;
        this.company = company;
        this.receiverName = receiverName;
        this.receiverPhone = receiverPhone;
        this.code = code;
        this.status = status;
        this.writerPhone = writerPhone;
    }

    public Express(String expressNumber, String company, String receiverName, String receiverPhone, String code, String writerPhone) {
        this.expressNumber = expressNumber;
        this.company = company;
        this.receiverName = receiverName;
        this.receiverPhone = receiverPhone;
        this.code = code;
        this.writerPhone = writerPhone;
    }

    public Express(Integer expressId, String expressNumber, String company, String receiverName, String receiverPhone, String code, Timestamp inputTime, Timestamp outputTime, Integer status, String writerPhone) {
        this.expressId = expressId;
        this.expressNumber = expressNumber;
        this.company = company;
        this.receiverName = receiverName;
        this.receiverPhone = receiverPhone;
        this.code = code;
        this.inputTime = inputTime;
        this.outputTime = outputTime;
        this.status = status;
        this.writerPhone = writerPhone;
    }

    public Integer getExpressId() {
        return expressId;
    }

    public void setExpressId(Integer expressId) {
        this.expressId = expressId;
    }

    public String getExpressNumber() {
        return expressNumber;
    }

    public void setExpressNumber(String expressNumber) {
        this.expressNumber = expressNumber;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getReceiverName() {
        return receiverName;
    }

    public void setReceiverName(String receiverName) {
        this.receiverName = receiverName;
    }

    public String getReceiverPhone() {
        return receiverPhone;
    }

    public void setReceiverPhone(String receiverPhone) {
        this.receiverPhone = receiverPhone;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Timestamp getInputTime() {
        return inputTime;
    }

    public void setInputTime(Timestamp inputTime) {
        this.inputTime = inputTime;
    }

    public Timestamp getOutputTime() {
        return outputTime;
    }

    public void setOutputTime(Timestamp outputTime) {
        this.outputTime = outputTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getWriterPhone() {
        return writerPhone;
    }

    public void setWriterPhone(String writerPhone) {
        this.writerPhone = writerPhone;
    }

    @Override
    public String toString() {
        return "Express{" +
                "expressId=" + expressId +
                ", expressNumber='" + expressNumber + '\'' +
                ", company='" + company + '\'' +
                ", receiverName='" + receiverName + '\'' +
                ", receiverPhone='" + receiverPhone + '\'' +
                ", code='" + code + '\'' +
                ", inputTime=" + inputTime +
                ", outputTime=" + outputTime +
                ", status=" + status +
                ", writerPhone='" + writerPhone + '\'' +
                '}';
    }
}
